html,body{
  padding: 0;
  margin: 0;
  height: 100%;
}

/** 基础通用 **/
.pt5 {
  padding-top: 5px;
}

.pr5 {
  padding-right: 5px;
}

.pb5 {
  padding-bottom: 5px;
}

.mt5 {
  margin-top: 5px;
}

.mr5 {
  margin-right: 5px;
}

.mb5 {
  margin-bottom: 5px;
}

.mb8 {
  margin-bottom: 8px;
}

.ml5 {
  margin-left: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mr10 {
  margin-right: 10px;
}

.mb10 {
  margin-bottom: 10px;
}
.ml10 {
	margin-left: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mr20 {
  margin-right: 20px;
}

.mb20 {
  margin-bottom: 20px;
}
.ml20 {
	margin-left: 20px;
}

/* 设置全局滚动条样式 */
::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0;
}
::-webkit-scrollbar-thumb {
  cursor: pointer;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.15);
  transition: color 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.el-table {
  .el-table__header-wrapper, .el-table__fixed-header-wrapper {
    th {
      word-break: break-word;
      background-color: #f8f8f9;
      color: #515a6e;
      height: 40px;
      font-size: 13px;
    }
  }
}


/* fade-transform */
.fade-transform--move,
.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all .5s;
}

.fade-transform-enter {
  opacity: 0;
  // transform: translateX(-30px);
}

.fade-transform-leave-to {
  opacity: 0;
  // transform: translateX(30px);
}
/* slide-fade */
.slide-fade {
  position: absolute;
  left: 0;
  right: 0;
}
.slide-fade-enter-active {
  transition: all 0.8s ease;
}
.slide-fade-leave-active {
  transition: all 0.8s cubic-bezier(2, 0.5, 0.8, 1);
}
.slide-fade-enter,
.slide-fade-leave-to {
  left: 0;
  right: 0;
  opacity: 0;
}

// flex横向水平居中
.flex-center{
  display: flex;
  justify-content: center;
  align-items: center;
}

// flex水平横向分散
.flex-between{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

// flex水平横向局底
.flex-end{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

// 页面通用布局
.page-bg{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-card{
  width: 98%;
  margin-bottom: 10px;
}
.page-card:first-child{
  margin-top: 10px;
}

label {
  font-weight: 700;
}

.error-img{
  width: 100%;
  height: 100%;background-color: #F5F7FA;
  color:#CAC4D5 ;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dialog-btn{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  .el-button{
    width: 100px;
  }
}

// drawer通用布局
.drawer-bg{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  .drawer-content{
    flex:1;
    background-color:#F1F1F1;
    overflow-y: auto;
  }
  .drawer-btn{
    width: 100%;
    height: 80px;
  }
}